package com.kingdee.eas.jftz.base;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class DutyTypeCollection extends AbstractObjectCollection 
{
    public DutyTypeCollection()
    {
        super(DutyTypeInfo.class);
    }
    public boolean add(DutyTypeInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(DutyTypeCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(DutyTypeInfo item)
    {
        return removeObject(item);
    }
    public DutyTypeInfo get(int index)
    {
        return(DutyTypeInfo)getObject(index);
    }
    public DutyTypeInfo get(Object key)
    {
        return(DutyTypeInfo)getObject(key);
    }
    public void set(int index, DutyTypeInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(DutyTypeInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(DutyTypeInfo item)
    {
        return super.indexOf(item);
    }
}